<?php

/**
 * Created by PhpStorm.
 * User: hjc_0
 * Date: 2016/6/2
 * Time: 13:17
 */
class PrintOrderService extends BaseService
{
	private $printReveiverInfo;
	private $printSuborderRecord;
	
    public function _initialize()
    {
		parent::_initialize();
		
		$this->printReceiverInfo = D('PrintReceiverInfo');
		$this->printSuborderRecord = D('PrintSuborderRecord');
    }

    /**
     * 创建订单
     * @param array $postData
     * @return bool
     */
    public function createOrder($postData)
    {
        return true;
    }

    /**
     * 订单确认
     * @param array $postData
     * @return bool
     */
    public function confirmOrder($postData)
    {
        return true;
    }

    /**
     * 取消订单
     * @param int $orderId
     */
    public function cancelOrder($orderId)
    {

    }


    /**
     * 获取订单列表
     * @param mixed $condition 查询条件
     */
    public function orderList($condition)
    {
		
    }

    /**
     * 订单编号
     * @param int $orderId
     */
    public function orderDetail($orderId)
    {

    }

    /**
     * 子订单列表
     * @param int $parentOrderId
     */
    public function subOrderList($parentOrderId)
    {

    }

    /**
     * 接单
     * @param int $orderId
     */
    public function takingOrder($orderId)
    {
		
    }

    /**
     * 派单
     * @param int $orderId
     */
    public function dispatchOrder($orderId)
    {
		
    }
}